package org.dev.pf.iof.systemmanage.dao;

import java.util.List;

import org.dev.pf.iof.base.dao.HibernateBaseDao;
import org.dev.pf.iof.systemmanage.model.IofMenuinfo;

import org.dev.pf.iof.systemmanage.vo.MenuSearchVO;

public class MenuManageDaoImpl extends HibernateBaseDao implements
		IMenuManageDao {

	public List<IofMenuinfo> selectMenu(MenuSearchVO searchVo) throws Exception {
		try {
			List<IofMenuinfo> results = this.getSession()
					.createQuery("SELECT menu FROM IofMenuinfo menu").list();
			return results;
		} catch (Exception e) {
			e.printStackTrace();
			throw e;
		}

	}

}
